package com.ruoyi.bussiness.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

@Data
public class PlanDetailsRsp {

    @JSONField(ordinal = 1)
    private String 方案编号;

    @JSONField(ordinal = 2)
    private int 总样本;

    @JSONField(ordinal = 3)
    private int 成功样本数;

    @JSONField(ordinal = 4)
    private int 失败样本数;

    @JSONField(ordinal = 5)
    private double 成功收益;

    @JSONField(ordinal = 6)
    private double 失败收益;

    @JSONField(ordinal = 7)
    private double 最终收益;

    @Override
    public String toString() {
        return "{" +
                "方案编号:'" + 方案编号 + '\'' +
                ", 总样本:" + 总样本 +
                ", 成功样本数:" + 成功样本数 +
                ", 失败样本数:" + 失败样本数 +
                ", 成功收益:" + 成功收益  +"U"+
                ", 失败收益:" + 失败收益  +"U"+
                ", 最终收益:" + 最终收益  +"U"+
                '}';
    }

}
